home *** CD-ROM | disk | FTP | other *** search
/ Delphi 2.0 - Programmer's Utilities Power Pack / Delphi 2.0 Programmer's Utilities Power Pack.iso / m_to_r / mailx4 / sessionf.fr_ / sessionf.bin (.txt)
Encoding:
Visual Basic Form  |  1996-09-15  |  5.7 KB  |  203 lines

  1. VERSION 2.00
  2. Begin Form SessionForm 
  3.    Caption         =   "Mail X Session Form"
  4.    ClientHeight    =   3075
  5.    ClientLeft      =   1530
  6.    ClientTop       =   1845
  7.    ClientWidth     =   6390
  8.    Height          =   3450
  9.    Left            =   1485
  10.    LinkTopic       =   "Form2"
  11.    ScaleHeight     =   3075
  12.    ScaleWidth      =   6390
  13.    Top             =   1515
  14.    Width           =   6480
  15.    Begin MSess MSess1 
  16.       DefaultPath     =   ""
  17.       DisplayErrors   =   -1  'True
  18.       DownLoadMsg     =   -1  'True
  19.       Height          =   420
  20.       Left            =   5640
  21.       LogonUI         =   -1  'True
  22.       Mail_Type       =   0  '0- NONE
  23.       MapiCustomLibName=   ""
  24.       NewSession      =   -1  'True
  25.       Password        =   ""
  26.       Top             =   120
  27.       User            =   ""
  28.       Width           =   420
  29.    End
  30.    Begin CommandButton Command3 
  31.       Caption         =   "Delete Recipient"
  32.       Height          =   375
  33.       Left            =   4320
  34.       TabIndex        =   10
  35.       Top             =   2520
  36.       Width           =   1815
  37.    End
  38.    Begin CommandButton Command2 
  39.       Caption         =   "Fetch Next"
  40.       Height          =   375
  41.       Left            =   2160
  42.       TabIndex        =   9
  43.       Top             =   2520
  44.       Width           =   2055
  45.    End
  46.    Begin CommandButton Command1 
  47.       Caption         =   "Fetch First"
  48.       Height          =   375
  49.       Left            =   240
  50.       TabIndex        =   8
  51.       Top             =   2520
  52.       Width           =   1695
  53.    End
  54.    Begin CommandButton BtnAddressDialog 
  55.       Caption         =   "Address Dialog"
  56.       Height          =   375
  57.       Left            =   4320
  58.       TabIndex        =   4
  59.       Top             =   1920
  60.       Width           =   1815
  61.    End
  62.    Begin CommandButton BtnAdd 
  63.       Caption         =   "Add Resolved Names"
  64.       Height          =   375
  65.       Left            =   2160
  66.       TabIndex        =   3
  67.       Top             =   1920
  68.       Width           =   2055
  69.    End
  70.    Begin CommandButton BtnResolve 
  71.       Caption         =   "ResolveNames"
  72.       Height          =   375
  73.       Left            =   240
  74.       TabIndex        =   2
  75.       Top             =   1920
  76.       Width           =   1695
  77.    End
  78.    Begin TextBox szResolveText 
  79.       Height          =   330
  80.       Left            =   2220
  81.       TabIndex        =   1
  82.       Top             =   660
  83.       Width           =   3930
  84.    End
  85.    Begin MReci MReci1 
  86.       AddRecipientClass=   1  '1- TO:
  87.       AddressCaption  =   "Mail X Address Caption "
  88.       AddressEditNum  =   3
  89.       BindString      =   "MMsg1"
  90.       DetailModifiable=   -1  'True
  91.       DisplayErrors   =   0   'False
  92.       FetchType       =   1  '1- Msg. Recipient
  93.       Height          =   420
  94.       Left            =   5625
  95.       ResolveDialog   =   -1  'True
  96.       Top             =   1275
  97.       Width           =   420
  98.    End
  99.    Begin MMsg MMsg1 
  100.       BindString      =   "MSess1"
  101.       BodyAsFile      =   0   'False
  102.       DisplayErrors   =   0   'False
  103.       DisplaySendDialog=   0   'False
  104.       EnvelopeOnly    =   0   'False
  105.       FetchMsgType    =   ""
  106.       Height          =   420
  107.       Left            =   3225
  108.       MarkAsRead      =   0   'False
  109.       SortMsg         =   0   'False
  110.       SuppressAttach  =   0   'False
  111.       TimeFormat      =   ""
  112.       Top             =   1260
  113.       UnreadOnly      =   0   'False
  114.       Width           =   420
  115.       WorkingMsg      =   0  '0- Inbox Message
  116.    End
  117.    Begin MForm MForm1 
  118.       Height          =   300
  119.       Left            =   240
  120.       MXFormName      =   "FormTag1"
  121.       Top             =   120
  122.       Width           =   1560
  123.    End
  124.    Begin Label nCount 
  125.       Height          =   315
  126.       Left            =   1995
  127.       TabIndex        =   7
  128.       Top             =   1260
  129.       Width           =   795
  130.    End
  131.    Begin Label Label3 
  132.       Caption         =   "Recipient Count:"
  133.       Height          =   300
  134.       Left            =   180
  135.       TabIndex        =   6
  136.       Top             =   1260
  137.       Width           =   1665
  138.    End
  139.    Begin Label Label2 
  140.       Caption         =   "(Introduce a List: Name1;Name2; etc)"
  141.       Height          =   285
  142.       Left            =   2205
  143.       TabIndex        =   5
  144.       Top             =   285
  145.       Width           =   3420
  146.    End
  147.    Begin Label Label1 
  148.       Caption         =   "Address To Resolve:"
  149.       Height          =   285
  150.       Left            =   150
  151.       TabIndex        =   0
  152.       Top             =   690
  153.       Width           =   1995
  154.    End
  155. Sub BtnAdd_Click ()
  156.     MReci1.Action = ACTION_ADDRECIPIENT
  157.     UpdateCount
  158. End Sub
  159. Sub BtnAddressDialog_Click ()
  160.     MReci1.Action = ACTION_ADDRESS
  161.     UpdateCount
  162. End Sub
  163. Sub BtnResolve_Click ()
  164.     MReci1.ResolveName = szResolveText
  165.     szResolveText = MReci1.ResolveName
  166. End Sub
  167. Sub Command1_Click ()
  168.     If MReci1.RecipientCount > 0 Then
  169.         MReci1.RecipientNum = 1
  170.         UpdateText
  171.     Else
  172.         MsgBox "Mail X Recipient Control is Empty"
  173.     End If
  174. End Sub
  175. Sub Command2_Click ()
  176.     NextR = MReci1.RecipientNum + 1
  177.     If NextR <= MReci1.RecipientCount Then
  178.         MReci1.RecipientNum = NextR
  179.         UpdateText
  180.     Else
  181.         MsgBox "Last Recipient Reached"
  182.     End If
  183. End Sub
  184. Sub Command3_Click ()
  185.     MReci1.Action = ACTION_DEL_RECIPIENT
  186.     UpdateCount
  187.     UpdateText
  188. End Sub
  189. Sub Form_Load ()
  190.     Load SystemX
  191.     SystemX.MSMAIL = True
  192.     SystemX.Show 1
  193.     MSess1.Logon = True
  194.     If MSess1.Logon = False Then End
  195.     UpdateCount
  196. End Sub
  197. Sub UpdateCount ()
  198.     nCount = MReci1.RecipientCount
  199. End Sub
  200. Sub UpdateText ()
  201.     szResolveText = MReci1.RecipientName
  202. End Sub
  203.